package com.zjuee.base.model.common.waster.dir;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zjuee.base.model.Description;
import com.zjuee.base.valid.Insert;
import com.zjuee.base.valid.Update;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 固废小类别信息表
 *
 * @author wu liang
 * @since 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("bc_solid_sclass")
public class SolidSClass extends Description {

	/*一般工业固废大类别ID*/
	@NotBlank(message = "bsbId can't be empty", groups = {Insert.class, Update.class})
	private Long bsbId;

	/*固废小类代码*/
	@NotBlank(message = "bssCode can't be empty", groups = {Insert.class, Update.class})
	private String bssCode;

	/*固废小类名称*/
	@NotBlank(message = "bssName can't be empty", groups = {Insert.class, Update.class})
	private String bssName;

	/*备注*/
	private String bssRemark;

	/*创建人*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bssCreator;

	/*创建时间*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Date bssCreateTime;

	/*修改人*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bssModifier;

	/*修改时间*/
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Date bssModifiedTime;

}
